From 43bbe5bc9680630a963f44acb54fc0128d581384 Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Sun, 3 Dec 2006 13:30:23 +0000 Subject: [PATCH] Revert the change to destroy all VMs when skipping or failing tests -- this needs more thought, because people shouldn't need to set up their Xen-API server to run the non-Xen-API bits of the test, and at the moment, you get authentication failures on every SKIP. Signed-off-by: Ewan Mellor --- tools/xm-test/lib/XmTestLib/Test.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/xm-test/lib/XmTestLib/Test.py b/tools/xm-test/lib/XmTestLib/Test.py index 7efbc0f3e3..68a176c273 100644 --- a/tools/xm-test/lib/XmTestLib/Test.py +++ b/tools/xm-test/lib/XmTestLib/Test.py @@ -33,7 +33,6 @@ import select import signal import re import glob -import xapi TEST_PASS = 0 TEST_FAIL = 255 @@ -134,12 +133,10 @@ def becomeNonRoot(): def FAIL(format, *args): print "\nREASON:", (format % args) - xapi.vm_destroy_all() sys.exit(TEST_FAIL) def SKIP(format, *args): print "\nREASON:", (format % args) - xapi.vm_destroy_all() sys.exit(TEST_SKIP) def saveLog(logText, filename=None): -- 2.30.2